/*
 * @Author: lusx 
 * @Date: 2020-04-28 13:27:10 
 * @Last Modified by: lusx
 * @Last Modified time: 2020-05-21 15:54:25
 */
import React from 'react';
import { Icon } from 'weaver-mobile'
import { chunk } from 'lodash';

const data2 = [
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(91,121,187)' }}>
                <Icon type='set-up' />
            </div>,
        bottom: '督办立项',
        id: "0",
        to: '/quickbar/new'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(198,192,98)' }}>
                <Icon type='renwu-o' />
            </div>,
        bottom: '查看反馈',
        id: "1",
        to: '/quickbar/view-feedback'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgb(47,177,75)' }}>
                <Icon type='signing' />
            </div>,
        bottom: '我的关注',
        id: "3",
        to: '/quickbar/attention'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(222,60,60)' }}>
                <Icon type='mail-small' />
            </div>,
        bottom: '即将到期',
        id: "4",
        to: '/quickbar/expiring'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(188,80,66)' }}>
                <Icon type='renwu-o' />
            </div>,
        bottom: '督办管理',
        id: "5",
        to: '/pro/newduty'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(172,141,220)' }}>
                <Icon type='business' />
            </div>,
        bottom: '任务管理',
        id: "6",
        to: '/task/task'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(202,196,36)' }}>
                <Icon type='tongji-o' />
            </div>,
        bottom: '整体监控',
        id: "7",
        to: '/quickbar/statistics'
    },
    {
        top:
            <div className='icon-box' style={{ backgroundColor: 'rgba(10,131,174)' }}>
                <Icon type='sault' />
            </div>,
        bottom: '状态统计',
        id: "8",
        to: '/quickbar/status'
    }];
const result2 = chunk(data2, 4);
export { result2 };